<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
    <style>
        input{
            margin-top: 10px;
        }
        #y{
            width: 130px;
            height: 40px;
            cursor: pointer;
            border-radius: 3px;
            border:none;
        }
    </style>
</head>
<body>
<div align="center">
    <form action="/StudentServlet?action=update&id=${Student.id}" method="post">
        <label>姓名：</label><input type="text" name="name" value="${Student.name}" ><br>
        <label>性别：</label><input type="text" name="sex"  value="${Student.sex}"><br>
        <label>年龄：</label><input type="text" name="age"  value="${Student.age}"><br>
        <label>地址：</label><input type="text" name="address"  value="${Student.address}"><br>
        <label>班级：</label><input type="text" name="school"  value="${Student.school}"><br>
        <input type="submit" value="修改" id="y">
    </form>
</div>
</body>
</html>
